import request from '@/utils/request'

// 查询列表信息
export function getYuyueList(query) {
  return request({
    url: '/yijing/yuyue/list',
    method: 'get',
    params: query
  })
}

// 查询详细
export function yuyueDetail(guaId) {
  return request({
    url: '/yijing/guai/' + guaId,
    method: 'get'
  })
}

// 修改
export function updateYuyue(data) {
  return request({
    url: '/yijing/yuyue',
    method: 'put',
    data: data
  })
}
